<html>
<head>
    <title> Freemaker Title</title>
</head>
<body>
<div>
    Hello ${word}
</div>
<br>

<div>
    用户id:${stu.uid}<br>
    用户姓名:${stu.username}<br>
    用户年龄:${stu.age}<br>
    用户生日:${stu.birthday?string("yyyy-MM-dd HH:mm:ss")}<br>
    用户财产:${stu.amount}<br>
    是否生育:${stu.haveChild?string("是","否")}<br>
    配偶:${stu.spouse.name},${stu.spouse.age}岁
</div>
<br>

<#-- 输出list -->
<#-- stu.articleList -->
<div>
    <#list stu.articleList as article>
        <div>
            <span>${article.id}</span>
            <span>${article.title}</span>
        </div>
    </#list>
</div>


<#-- 输出map -->
<#-- stu.parents -->
<div>
    <#list stu.parents?keys as key>
        <div>${stu.parents[key]}</div>
    </#list>
</div>



</body>
</html>